package co.edu.unal.satacredito.mediation;

import java.util.List;

import javax.ejb.Remote;

import co.edu.unal.satacredito.infrastructure.dto.UserDTO;

@Remote
public interface UserEJBRemote {
	
	public UserDTO getUserFromLoginService(String username, String password);
	
    public void create(UserDTO userDTO) throws Exception;
	
	public void edit(String id, UserDTO userDTO) throws Exception;
	
	public void delete(String id) throws Exception;
	
	public UserDTO findUser(String userId) throws Exception;
	
	public List<UserDTO> findAllUsers();
	
}
